package com.kingyun.gpsinspection.purificationservice.facade.model.tdm;

import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;

import java.io.Serializable;
import java.util.Date;

/**
 * 作业许可实体类
 */
public class WorkPermit extends BootstrapSearchBean implements Serializable {
    //作业许可ID
    private String workPermitId;
    //任务名称
    private String taskName;
    //任务类型
    private Short taskType;

    private String workInstanceId;
    //任务内容
    private String taskContent;
    //作业类型
    private Short workType;
    //作业许可证号
    private String operationLicenseNo;
    //作业地点
    private String workPlace;
    //设备编号
    private String deviceNo;
    //作业项目名称
    private String workProjectName;
    //作业项目负责人
    private String principalManId;
    //作业单位
    private String workUnit;
    //作业人数
    private Long workerNo;
    //监护人
    private String guardianManId;
    //计划开始时间
    private Date planStartTime;
    //计划结束时间
    private Date planEndTime;
    //JSA编号
    private String jsaNo;
    //JSA文件
    private String jsaFile;
    //主要作业设备和工具
    private String tool;
    //施工方案及预案
    private String workScheme;
    //标准隔离方案
    private String solationScheme;
    //风险分析及安全措施
    private String riskAnalysis;
    //作业许可状态
    private Short workPermitStatus;
    //是否A类作业
    private Short isAClass;
    //流程实例ID
    private Short auditStatus;
    //创建人
    private String createUserId;
    //创建时间
    private Date createTime;
    //修改人
    private String modifyUserId;
    //修改时间
    private Date modifyTime;
    //备注
    private String remark;
    //是否删除
    private Short isDelete;
    //是否启用
    private Short isEnable;
    //任务状态
    private Short taskStatus;
    //当前节点
    private Short node;
    //流程实例ID
    private String flowId;
    //任务完成时间
    private Date finishTime;

    public String getWorkPermitId() {
        return workPermitId;
    }

    public void setWorkPermitId(String workPermitId) {
        this.workPermitId = workPermitId == null ? null : workPermitId.trim();
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName == null ? null : taskName.trim();
    }

    public Short getTaskType() {
        return taskType;
    }

    public void setTaskType(Short taskType) {
        this.taskType = taskType;
    }

    public String getWorkInstanceId() {
        return workInstanceId;
    }

    public void setWorkInstanceId(String workInstanceId) {
        this.workInstanceId = workInstanceId == null ? null : workInstanceId.trim();
    }

    public String getTaskContent() {
        return taskContent;
    }

    public void setTaskContent(String taskContent) {
        this.taskContent = taskContent == null ? null : taskContent.trim();
    }

    public Short getWorkType() {
        return workType;
    }

    public void setWorkType(Short workType) {
        this.workType = workType;
    }

    public String getOperationLicenseNo() {
        return operationLicenseNo;
    }

    public void setOperationLicenseNo(String operationLicenseNo) {
        this.operationLicenseNo = operationLicenseNo == null ? null : operationLicenseNo.trim();
    }

    public String getWorkPlace() {
        return workPlace;
    }

    public void setWorkPlace(String workPlace) {
        this.workPlace = workPlace == null ? null : workPlace.trim();
    }

    public String getDeviceNo() {
        return deviceNo;
    }

    public void setDeviceNo(String deviceNo) {
        this.deviceNo = deviceNo == null ? null : deviceNo.trim();
    }

    public String getWorkProjectName() {
        return workProjectName;
    }

    public void setWorkProjectName(String workProjectName) {
        this.workProjectName = workProjectName == null ? null : workProjectName.trim();
    }

    public String getPrincipalManId() {
        return principalManId;
    }

    public void setPrincipalManId(String principalManId) {
        this.principalManId = principalManId == null ? null : principalManId.trim();
    }

    public String getWorkUnit() {
        return workUnit;
    }

    public void setWorkUnit(String workUnit) {
        this.workUnit = workUnit == null ? null : workUnit.trim();
    }

    public Long getWorkerNo() {
        return workerNo;
    }

    public void setWorkerNo(Long workerNo) {
        this.workerNo = workerNo;
    }

    public String getGuardianManId() {
        return guardianManId;
    }

    public void setGuardianManId(String guardianManId) {
        this.guardianManId = guardianManId == null ? null : guardianManId.trim();
    }

    public Date getPlanStartTime() {
        return planStartTime;
    }

    public void setPlanStartTime(Date planStartTime) {
        this.planStartTime = planStartTime;
    }

    public Date getPlanEndTime() {
        return planEndTime;
    }

    public void setPlanEndTime(Date planEndTime) {
        this.planEndTime = planEndTime;
    }

    public String getJsaNo() {
        return jsaNo;
    }

    public void setJsaNo(String jsaNo) {
        this.jsaNo = jsaNo == null ? null : jsaNo.trim();
    }

    public String getJsaFile() {
        return jsaFile;
    }

    public void setJsaFile(String jsaFile) {
        this.jsaFile = jsaFile == null ? null : jsaFile.trim();
    }

    public String getTool() {
        return tool;
    }

    public void setTool(String tool) {
        this.tool = tool == null ? null : tool.trim();
    }

    public String getWorkScheme() {
        return workScheme;
    }

    public void setWorkScheme(String workScheme) {
        this.workScheme = workScheme == null ? null : workScheme.trim();
    }

    public String getSolationScheme() {
        return solationScheme;
    }

    public void setSolationScheme(String solationScheme) {
        this.solationScheme = solationScheme == null ? null : solationScheme.trim();
    }

    public String getRiskAnalysis() {
        return riskAnalysis;
    }

    public void setRiskAnalysis(String riskAnalysis) {
        this.riskAnalysis = riskAnalysis == null ? null : riskAnalysis.trim();
    }

    public Short getWorkPermitStatus() {
        return workPermitStatus;
    }

    public void setWorkPermitStatus(Short workPermitStatus) {
        this.workPermitStatus = workPermitStatus;
    }

    public Short getIsAClass() {
        return isAClass;
    }

    public void setIsAClass(Short isAClass) {
        this.isAClass = isAClass;
    }

    public Short getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Short auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(String modifyUserId) {
        this.modifyUserId = modifyUserId == null ? null : modifyUserId.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Short getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Short isDelete) {
        this.isDelete = isDelete;
    }

    public Short getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Short isEnable) {
        this.isEnable = isEnable;
    }

    public Short getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(Short taskStatus) {
        this.taskStatus = taskStatus;
    }

    public Short getNode() {
        return node;
    }

    public void setNode(Short node) {
        this.node = node;
    }

    public String getFlowId() {
        return flowId;
    }

    public void setFlowId(String flowId) {
        this.flowId = flowId;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }
}